<img id="img" src="none" alt="alt text">
<script>
if (window.testRunner)
    testRunner.dumpAsText();
var img = document.getElementById('img');
img.onerror = function () {
    if (window.internals)
        internals.shadowRoot(img).firstChild.removeChild(internals.shadowRoot(img).firstChild.firstChild);
    document.body.offsetTop;
}
</script>
crbug.com/443497: Don't crash if any of the UA shadow dom gets deleted.
